package com.lishe.lishe.lishe.module.me.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.lishe.lishe.R;
import com.lishe.lishe.lishe.base.BaseActivity;

/**
 * Created by zhcasecom on 2017/8/18.
 * 我的福利
 */

public class MyBenefitsActivity extends BaseActivity {
    private TextView titletext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_benefits);
        initView();

    }

    private void initView() {
        titletext = findViewById(R.id.title_text_title);
        titletext.setText("我的福利");
        Button back = findViewById(R.id.title_left_button);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    public static void jump(Activity activity) {
        Intent intent = new Intent(activity, MyBenefitsActivity.class);
        activity.startActivity(intent);
    }
}
